//import { http } from "@/utils/http";
import { getAllRouter } from "./index";

// 后端获取动态路由
export const getAsyncRoutes = () => {
  //mock模拟数据
  //return http.request<any>("get", "/get-async-routes");
  //后端真实数据
  return getAllRouter();
};
